{% extends 'base.html' %}
{% load static %}

{% block title %}登录{% endblock %}
{% block main %}
    <div class="m-auto" style="max-width: 330px">
        <h1 class="text-center">请登录</h1>
        <form action=" " method="post">
            {% csrf_token %}
            <div class="mb-3">
                <label for="exampleInputEmail1" class="form-label">邮箱</label>
                <input type="email" class="form-control" id="exampleInputEmail1" name="email"  placeholder="邮箱">

            </div>
            <div class="mb-3">
                <label for="exampleInputPassword1" class="form-label">密码</label>
                <input type="password" class="form-control" id="exampleInputPassword1" name="password" placeholder="密码">
            </div>
            <div class="mb-3 form-check">
                <input type="checkbox" class="form-check-input" id="exampleCheck1" name="rememberMe" value="1">
                <label class="form-check-label" for="exampleCheck1">记住我</label>
            </div>
            <button type="submit" class="btn btn-primary w-100">立即登录</button>
        </form>
    </div>
{% endblock %}

